#include <image.h>
Public Member Functions |
|
uInt16Channel (const float32Channel &d) | |
uInt16Channel (const float16Channel &d) | |
uInt16Channel (const uInt16Channel &d) | |
uInt16Channel (const uInt8Channel &d) | |
uInt16Channel (uInt16 d) | |
uInt16Channel () | |
uInt16Channel & | operator= (const float32Channel &d) |
uInt16Channel & | operator= (const float16Channel &d) |
uInt16Channel & | operator= (const uInt16Channel &d) |
uInt16Channel & | operator= (uInt16 d) |
uInt16Channel & | operator= (const uInt8Channel &d) |
operator float () const | |
operator half_ () const | |
operator uInt16 () const | |
operator uInt8 () const |
|
00328 { m_data = uInt16(d); } |
|
00329 { m_data = uInt16(d); } |
|
00144 { m_data = uInt16(d); } |
|
00145 { m_data = uInt16(d); } |
|
00146 { m_data = (d); } |
|
00147 {} |
|
00333 { 00334 m_data = uInt16(d); 00335 return *this; 00336 } |
|
00340 { 00341 m_data = uInt16(d); 00342 return *this; 00343 } |
|
00153 { 00154 m_data = uInt16(d); 00155 return *this; 00156 } |
|
00159 { 00160 m_data = uInt16(d); 00161 return *this; 00162 } |
|
00165 { 00166 m_data = uInt16(d); 00167 return *this; 00168 } |
|
00170 { return m_data * (1.0f/65535.0f); }
|
|
00171 { return half_(m_data * (1.0f/65535.0f)); }
|
|
00172 { return m_data; }
|
|
00173 { return uInt8(m_data >> 8); } |